package cn.txy.system.service.impl;

import cn.txy.base.service.impl.BaseServiceImpl;
import cn.txy.system.domain.Permission;
import cn.txy.system.mapper.PermissionMapper;
import cn.txy.system.query.PermissionQuery;
import cn.txy.system.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImpl extends BaseServiceImpl<Permission> implements PermissionService {
@Autowired
private PermissionMapper permissionMapper;
    @Override
    public List<Permission> queryPage(PermissionQuery permissionQuery) {
        return permissionMapper.queryPage(permissionQuery);
    }
}
